<?php

/**
 * Login form.
 * 
 * @package    bde
 * @subpackage form
 * @author     Benjamin Herlin 
 * @version    2010-07-13 v1.0
 */
class LoginForm extends sfForm
{
  public function configure()
  {
    $this->setWidgets(array(
      'id_arise'   => new sfWidgetFormInputText()
    ));
    
    $this->widgetSchema->setNameFormat('login[%s]');
 
    $this->setValidators(array(
      'id_arise'   => new sfValidatorString()
    ));
  }
}